package store

import (
	_ "github.com/go-sql-driver/mysql"
	"time"
)

// FkUser 用户信息表 fk_user
type FkUser struct {
	UserId       int64     `gorm:"column:f_id;primary_key;size:20" json:"user_id"`
	UserName     string    `gorm:"column:f_name;types:varchar(100)" json:"user_name"`
	Password     string    `gorm:"column:f_password;types:varchar(255)" json:"password"`
	LoginTime    time.Time `gorm:"column:f_login_time;types:datetime" json:"login_time"`
	RegisterTime time.Time `gorm:"column:f_register_time;types:datetime" json:"register_time"`
	EditTime     time.Time `gorm:"column:f_edit_time;types:datetime" json:"edit_time"`
}

func (fk *FkUser) TableName() string {
	return "fk_user"
}
